﻿using UnityEngine;

public class Pillar : MonoBehaviour {

	private void OnTriggerEnter2D(Collider2D other) {
		if (other.GetComponent<Bird>() != null)
			GameController.initialize.addScore();
	}

}
